-
Home
-
Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)
-
9.1.0
-
Code
-
Classes
- Rsssl_Two_Factor_Totp
| Total Complexity |
79 |
| Dependencies |
10 |
| Dependents |
6 |
| Total lines |
984 |
| Lines of code |
546 |
| Logical lines of code |
221 |
| Comment lines |
296 |
| Methods |
34 |
| Properties |
1 |
Methods 34
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| user_two_factor_options() |
A |
35 |
3 |
138 |
| is_enabled() |
S |
55 |
7 |
20 |
| rest_setup_totp() |
S |
51 |
6 |
25 |
| get_selection_option() |
S |
50 |
5 |
26 |
| base32_decode() |
S |
54 |
4 |
20 |
| setup_totp() |
S |
57 |
4 |
16 |
| validate_code_for_user() |
S |
59 |
4 |
15 |
| base32_encode() |
S |
58 |
4 |
15 |
| pack64() |
S |
58 |
4 |
14 |
| is_optional() |
S |
59 |
4 |
14 |
| validate_authentication() |
S |
62 |
4 |
11 |
| register_rest_routes() |
S |
46 |
1 |
49 |
| get_authcode_valid_ticktime() |
S |
58 |
3 |
14 |
| calc_totp() |
S |
56 |
2 |
16 |
| abssort() |
S |
66 |
3 |
8 |
| display_onboarding_step_totp() |
S |
50 |
1 |
29 |
| authentication_page() |
S |
57 |
1 |
22 |
| get_instance() |
S |
69 |
2 |
7 |
| generate_qr_code_url() |
S |
58 |
1 |
15 |
| is_forced() |
S |
70 |
2 |
6 |
| rest_delete_totp() |
S |
62 |
1 |
12 |
| __construct() |
S |
72 |
1 |
5 |
| get_label() |
S |
79 |
1 |
3 |
| get_user_totp_key() |
S |
78 |
1 |
3 |
| set_user_totp_key() |
S |
78 |
1 |
3 |
| delete_user_totp_key() |
S |
76 |
1 |
4 |
| is_valid_key() |
S |
74 |
1 |
4 |
| is_valid_authcode() |
S |
78 |
1 |
3 |
| generate_key() |
S |
71 |
1 |
5 |
| is_available_for_user() |
S |
75 |
1 |
4 |
| enqueue_qrcode_script() |
S |
65 |
1 |
10 |
| set_user_status() |
S |
79 |
1 |
3 |
| is_configured() |
S |
74 |
1 |
4 |
| get_status() |
S |
79 |
1 |
3 |